using System;

#region Mozilla Public License 1.1
/*
 * $Id: PdfNull.cs,v 1.4 2008/05/13 11:25:21 psoares33 Exp $
 * 
 *
 * Copyright 1999, 2000, 2001, 2002 Bruno Lowagie
 *
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the License.
 *
 * The Original Code is 'iText, a free JAVA-PDF library'.
 *
 * The Initial Developer of the Original Code is Bruno Lowagie. Portions created by
 * the Initial Developer are Copyright (C) 1999, 2000, 2001, 2002 by Bruno Lowagie.
 * All Rights Reserved.
 * Co-Developer of the code is Paulo Soares. Portions created by the Co-Developer
 * are Copyright (C) 2000, 2001, 2002 by Paulo Soares. All Rights Reserved.
 *
 * Contributor(s): all the names of the contributors are added in the source code
 * where applicable.
 */
#endregion

namespace iTextSharp.text.pdf
{

    /**
     * <CODE>PdfNull</CODE> is the Null object represented by the keyword <VAR>null</VAR>.
     * <P/>
     * This object is described in the 'Portable Document Format Reference Manual version 1.3'
     * section 4.9 (page 53).
     *
     * @see        PdfObject
     */

    public class PdfNull : PdfObject
    {
        /** This is an instance of the <CODE>PdfNull</CODE>-object. */
        public static PdfNull PDFNULL = new PdfNull();

        // constructors

        /**
         * Constructs a <CODE>PdfNull</CODE>-object.
         * <P/>
         * You never need to do this yourself, you can always use the static object <VAR>PDFNULL</VAR>.
         */

        public PdfNull() : base(NULL, "null") { }

        public override String ToString()
        {
            return "null";
        }
    }
}